package cn.kys.modules.system.repository;



import cn.kys.modules.system.domain.Parcelmap;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface ParcelmapRepository {


    public List calculateParcelByUUID(@Param("uuid") String uuid);

    public Map calculateLandByUUID(@Param("uuid") String uuid);

    public Map calculateEnvByUUID(@Param("uuid") String uuid);

    public void addParcelmap(Parcelmap parcelmap);

    public List findLandHave(@Param("cut_num") int cut_num, @Param("qsdw_code") String qsdw_code, @Param("length") int length,@Param("pageSize") int pageSize, @Param("offset") int offset);

    public String findLandHaveCount(@Param("cut_num") int cut_num, @Param("qsdw_code") String qsdw_code, @Param("length") int length);

    public List findLandNotHave(@Param("cut_num") int cut_num, @Param("qsdw_code") String qsdw_code, @Param("length") int length,@Param("pageSize") int pageSize, @Param("offset") int offset);

    public String findLandNotHaveCount(@Param("cut_num") int cut_num, @Param("qsdw_code") String qsdw_code, @Param("length") int length);

    public List findParcelMapPic(@Param("uuid") String uuid);

    public List findParcelMapPicById(@Param("id") String id);


    public void deleteParcelMapPic(@Param("id") String id);


    public void deleteParcelMapPicByUUID(@Param("uuid") String uuid);

    public List findLandByLandId(@Param("landid") String landid);

    public List findLandByUUID(@Param("uuid") String uuid);


    public List findParcelmapByUUID(@Param("uuid") String uuid);

    public List findLandAll(@Param("cut_num") int cut_num, @Param("qsdw_code") String qsdw_code, @Param("length") int length,@Param("pageSize") int pageSize, @Param("offset") int offset);

    public String findLandAllCount(@Param("cut_num") int cut_num, @Param("qsdw_code") String qsdw_code, @Param("length") int length);


    public List findGeoByPos(@Param("cut_num") int cut_num,@Param("qsdw_code") String qsdw_code,@Param("length") int length,@Param("lon") String lon,@Param("lat") String lat);

    public List findParcelmapByContractPkId(@Param("contractpkid") String contractpkid);

    public List findLandByContractId(@Param("contractpkid") String contractpkid);

    public List findLandCenterByContractId(@Param("contractpkid") String contractpkid);

    public Map exeSql(@Param("sqlStr") String sqlStr);
}
